public UserTypeHelper(API.LABURNUM.COM.UserType userType) { if (userType == null) { throw new Exception(API.LABURNUM.COM.Component.Constants.ERRORMESSAGES.PARAMETER_CANNOT_BE_NULL); } ; this.UserTypes = new List <API.LABURNUM.COM.UserType>(); this.UserTypes.Add(userType); }
private DTO.LABURNUM.COM.UserTypeModel MapCore(API.LABURNUM.COM.UserType userType) { DTO.LABURNUM.COM.UserTypeModel dtoUserType = new DTO.LABURNUM.COM.UserTypeModel() { Text = userType.Text, UserTypeId = userType.UserTypeId, CreatedOn = userType.CreatedOn, IsActive = userType.IsActive, LastUpdated = userType.LastUpdated }; return(dtoUserType); }