public async Task <IHttpActionResult> GetTasksByDate(string date) { TaskBL wl = new TaskBL(); return(Ok(wl.GetTasksByDates(Common.GetStartDate(date), Common.GetEndDate(date)))); }