public List <UserTaskModel> GetTaskDetails() { try { using (var repository = new TaskManagerRepository()) { var taskdetails = repository.GetTaskDetails(); return(taskdetails); } } catch (Exception ex) { throw ex; } }
public List <UserTaskModel> GetTaskDetails() { try { using (var repository = new TaskManagerRepository()) { var taskdetails = repository.GetTaskDetails(); return(taskdetails); } } catch (Exception ex) { throw ex; } }