public static Brand CreateBrand(this BrandViewModel model) { var brand = new Brand(); model.CopyToBrand(brand); return(brand); }