/// <summary> /// To the model. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public static GroupRole ToModel(this GroupRoleDto value) { GroupRole result = new GroupRole(); value.CopyToModel(result); return(result); }
/// <summary> /// Instantiates a new DTO object from the entity /// </summary> /// <param name="groupRole"></param> public GroupRoleDto(GroupRole groupRole) { CopyFromModel(groupRole); }
/// <summary> /// To the dto. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public static GroupRoleDto ToDto(this GroupRole value) { return(new GroupRoleDto(value)); }