if(input.Start_Date_Time != null && input.Service_Lookup != null)
{
getServiceDetails = Add_Services[ID == input.Service_Lookup];
serviceMinutes = getServiceDetails.Service_Time;
input.End_Date_Time = input.Start_Date_Time.addMinutes(serviceMinutes);
}