Exemple #1
0
        public List <OtherTaskBasicModel> GetAllOtherTaskNamesAndId()
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetAllOtherTaskNamesAndId();

            return(ConvertOtherTaskDataTableToList(result));
        }
Exemple #2
0
        public List <OtherSubTaskBasicModel> GetAllOtherSubTasksById(string taskId)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetAllOtherSubTasksById(taskId);

            return(ConvertOtherSubTaskDataTableToList(result));
        }
Exemple #3
0
        public List <OtherTaskModel> GetAllOtherProjectTasks(string pageNumber, string searchTerm, string numberOfRecords)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetAllOtherProjectTasks(pageNumber, searchTerm, numberOfRecords);

            return(ConvertOtherProjectTasksDataTableToList(result));
        }
Exemple #4
0
        public List <OtherTaskTypeBasicModel> AddOtherCategoryType(string typeName, string addedBy)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.AddOtherCategoryType(typeName, addedBy);

            return(ConvertOtherTaskTypeDataTableToList(result));
        }
Exemple #5
0
        public List <OtherTaskExpenseModel> GetAllOtherTaskExpenses(string pageNumber, string searchTerm, string category)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetAllOtherTaskExpenses(pageNumber, searchTerm, category);

            return(MapOtherTaskExpense(result));
        }
Exemple #6
0
        public OtherSubTaskModel GetOtherSubTaskDetailsById(string subTaskId)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetOtherSubTaskDetailsById(subTaskId);

            return(MapOtherSubTaskDetails(result));
        }
Exemple #7
0
        public List <OtherSubTaskBasicModel> GetAllOtherSubTasksByUserId(string userId, string date)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetAllOtherSubTasksByUserId(userId, date);

            return(ConvertOtherSubTaskDataTableToList(result));
        }
Exemple #8
0
        public bool UpdateOtherSubTask(OtherSubTaskModel subTask, bool isPostponed, int reAssignedUserId)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.UpdateOtherSubTask(subTask);

            return(result);
        }
Exemple #9
0
        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);
        }
Exemple #10
0
        public bool DeleteOtherProjectTask(string taskId, string deletedBy)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.DeleteOtherProjectTask(taskId, deletedBy);

            return(result);
        }
Exemple #11
0
        public bool CreateOtherSubTask(OtherSubTaskModel subTask)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.CreateOtherSubTask(subTask);

            return(result);
        }
Exemple #12
0
        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));
        }
Exemple #13
0
        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));
        }