public dtoAssignedTasks(dtoTaskWithPortalComm oTask, TaskPermissionEnum oTaskPermissions)
        {
            TaskId   = oTask.ID;
            TaskName = oTask.Name;

            ProjectID   = oTask.ProjectID;
            ProjectName = oTask.ProjectName;

            Permissions  = oTaskPermissions;
            Status       = oTask.Status;
            isDeleted    = oTask.MetaInfo.isDeleted;
            Completeness = oTask.Completeness;
            Deadline     = oTask.Deadline;
        }
Exemple #2
0
        public dtoInvolvingProjectsWithRoles(dtoTaskWithPortalComm oTask, TaskPermissionEnum oTaskPermissions, IList <TaskRole> oRoles)
        {
            // TODO: Complete member initialization
            TaskId   = oTask.ID;
            TaskName = oTask.Name;

            ProjectID   = oTask.ProjectID;
            ProjectName = oTask.ProjectName;

            Permissions  = oTaskPermissions;
            Status       = oTask.Status;
            isDeleted    = oTask.MetaInfo.isDeleted;
            Completeness = oTask.Completeness;
            Deadline     = oTask.Deadline;
            Roles        = oRoles;
        }