public ActionResult AddAuto(string Make, string Model, int Year, string VIN, int clientId) { var auto = new Auto() { Make = Make, Model = Model, Year = Year, VIN = VIN }; AutoService.AddAuto(auto, clientId); return(GetAccount(clientId)); }
public ActionResult AddAuto(string Make, string Model, int Year, string VIN, int clientId) { var auto = new Auto() { Make = Make, Model = Model, Year = Year, VIN = VIN }; AutoService.AddAuto(auto, clientId); return(GetAccount(clientId)); }