public static ApplicationViewModel ToModel(this PermissionSystem.Models.Application entity) { return(entity.MapTo <PermissionSystem.Models.Application, ApplicationViewModel>()); }
public static PermissionSystem.Models.Application ToEntity(this ApplicationViewModel model, PermissionSystem.Models.Application entity) { return(model.MapTo(entity)); }