public List <TaskModel> GetAllTask() { _taskBL = new TaskBL(); var result = _taskBL.GetAllTask(); return(result); }
public Array GetAllTasks() { TaskResponseModel taskresponseModel = new TaskResponseModel(); var data = taskBL.GetAllTask(); // taskresponseModel.TaskListData = taskBL.GetAllTask(); return(data); // return db.Employees; }