示例#1
0
        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));
        }