Beispiel #1
0
        public async Task <bool> Insert()
        {
            string startTime    = HttpContext.Request.Form["startTime"];
            string endTime      = HttpContext.Request.Form["endTime"];
            string startPointId = HttpContext.Request.Form["startPointId"];
            string endPointId   = HttpContext.Request.Form["endPointId"];

            return(await _service.InsertTimeSlot(startTime, endTime, startPointId, endPointId));
        }