public List <OtherTaskBasicModel> GetAllOtherTaskNamesAndId() { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.GetAllOtherTaskNamesAndId(); return(ConvertOtherTaskDataTableToList(result)); }
public List <OtherSubTaskBasicModel> GetAllOtherSubTasksById(string taskId) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.GetAllOtherSubTasksById(taskId); return(ConvertOtherSubTaskDataTableToList(result)); }
public List <OtherTaskModel> GetAllOtherProjectTasks(string pageNumber, string searchTerm, string numberOfRecords) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.GetAllOtherProjectTasks(pageNumber, searchTerm, numberOfRecords); return(ConvertOtherProjectTasksDataTableToList(result)); }
public List <OtherTaskTypeBasicModel> AddOtherCategoryType(string typeName, string addedBy) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.AddOtherCategoryType(typeName, addedBy); return(ConvertOtherTaskTypeDataTableToList(result)); }
public List <OtherTaskExpenseModel> GetAllOtherTaskExpenses(string pageNumber, string searchTerm, string category) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.GetAllOtherTaskExpenses(pageNumber, searchTerm, category); return(MapOtherTaskExpense(result)); }
public OtherSubTaskModel GetOtherSubTaskDetailsById(string subTaskId) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.GetOtherSubTaskDetailsById(subTaskId); return(MapOtherSubTaskDetails(result)); }
public List <OtherSubTaskBasicModel> GetAllOtherSubTasksByUserId(string userId, string date) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.GetAllOtherSubTasksByUserId(userId, date); return(ConvertOtherSubTaskDataTableToList(result)); }
public bool UpdateOtherSubTask(OtherSubTaskModel subTask, bool isPostponed, int reAssignedUserId) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.UpdateOtherSubTask(subTask); return(result); }
public bool UpdateOtherProjectTask(string taskId, string name, string taskTypeId, string assignedUser, string startDate, string endDate, string commments, string deletedBy) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.UpdateOtherProjectTask(taskId, name, taskTypeId, assignedUser, startDate, endDate, commments, deletedBy); return(result); }
public bool DeleteOtherProjectTask(string taskId, string deletedBy) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.DeleteOtherProjectTask(taskId, deletedBy); return(result); }
public bool CreateOtherSubTask(OtherSubTaskModel subTask) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); var result = obj.CreateOtherSubTask(subTask); return(result); }
public bool AssignOtherTaskToUser(string categoryType, string name, string assignee, string startDate, string endDate, string comments, string addedBy) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); return(obj.AssignOtherTaskToUser(categoryType, name, assignee, startDate, endDate, comments, addedBy)); }
public bool SaveOtherTaskExpense(string otherTaskId, string category, string expenseDate, string addedBy, string comments, string name, string amount) { OtherTaskDataAccess obj = new OtherTaskDataAccess(); return(obj.SaveOtherTaskExpense(otherTaskId, category, expenseDate, "0", comments, name, amount)); }