Пример #1
0
        public static string UpdateUserTask(int?taskId, string taskName, int?taskTypeId, int?siteId, int?programId, string assignedDate, int?assignedToUserId, int?assignedByUserId, string taskDetails, string ccUserIDs, string dueDate, int?taskStatus, int?updatedByUserId, int?createdByUserId, int?tracerCustomId, int?tracerResponseId, int?tracerQuestionId, int?tracerQuestionAnswerId, int?epTextId, int?cmsStandardId, bool?ReminderEmailRequired, string taskresolution, string completeDate, string lstUsers)
        {
            ApiUpdateUserTaskReturnModel _dbResult;

            using (var db = new Data.DBMEdition01Context())
            {
                _dbResult = db.ApiUpdateUserTask(taskId, taskName, taskTypeId, siteId, programId, assignedDate, assignedToUserId, assignedByUserId, taskDetails, ccUserIDs, dueDate, taskStatus, updatedByUserId, createdByUserId, tracerCustomId, tracerResponseId, tracerQuestionId, tracerQuestionAnswerId, epTextId, cmsStandardId, ReminderEmailRequired, taskresolution, completeDate, lstUsers).FirstOrDefault();
            }

            return(_dbResult.tasklist);
        }