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

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

            return(ConvertOtherSubTaskDataTableToList(result));
        }
Example #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));
        }
Example #4
0
        public List <OtherTaskTypeBasicModel> AddOtherCategoryType(string typeName, string addedBy)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.AddOtherCategoryType(typeName, addedBy);

            return(ConvertOtherTaskTypeDataTableToList(result));
        }
Example #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));
        }
Example #6
0
        public OtherSubTaskModel GetOtherSubTaskDetailsById(string subTaskId)
        {
            OtherTaskDataAccess obj = new OtherTaskDataAccess();
            var result = obj.GetOtherSubTaskDetailsById(subTaskId);

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

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

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

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

            return(result);
        }
Example #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));
        }
Example #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));
        }