public async Task <Response> Insert([FromBody] Scheduling scheduling) { scheduling.EndTime = scheduling.EndTime.ToLocalTime(); scheduling.StartTime = scheduling.StartTime.ToLocalTime(); return(await _schedulingService.AddSchedule(scheduling)); }
public async Task <Response> Insert([FromBody] Scheduling scheduling) { scheduling.EndTime = scheduling.EndTime.ToLocalTime(); scheduling.StartTime = scheduling.StartTime.ToLocalTime(); return(await _schedulingService.AddSchedule(scheduling)); }