public async Task <IEnumerable <TaskModelDerived> > GetTasksList(GetTaskListModel getTaskListModel)
 {
     return(await _taskrepository.GetTasksList(getTaskListModel));
 }
 public async Task <IEnumerable <TaskModelDerived> > GetTasksList(GetTaskListModel getTaskListModel)
 {
     return(await Query <TaskModelDerived>("Glo.GetTasksList", getTaskListModel));
 }
        public async Task <ActionResult> GetGetStaffTaskList([FromQuery] GetTaskListModel getTaskListModel)
        {
            var list = await _taskService.GetTasksList(getTaskListModel);

            return(Ok(list));
        }