public void LoadApplicationRole(ApplicationUser obj) { if (obj.ApplicationRole != null) { _applicationRoleProperty = obj.ApplicationRole.CurrentDTO; } }
public void InitDTO() { ApplicationRoleDTO dt = new ApplicationRoleDTO(); dt.ApplicationRoleID = this.ApplicationRoleID; dt.Name = this.Name; dt.SystemRoleID = this.SystemRoleID; dt.IsSystemRole = this.IsSystemRole; dt.IsActive = this.IsActive; dt.CreatedBy = this.CreatedBy; dt.CreatedOn = this.CreatedOn; dt.UpdatedBy = this.UpdatedBy; dt.UpdatedOn = this.UpdatedOn; //LoadProperty(_currentDto, dt); this.CurrentDTO = dt; }