예제 #1
0
 public void AddCarToUser([FromForm] string username, [FromForm] string carmodel, [FromForm] string carcolor, [FromForm] string carwheel)
 {
     Console.WriteLine("CarModelController: " + username + " " + carmodel + " " + carcolor + " " + carwheel);
     _userService.AddModelToUser(username, carmodel, carcolor, carwheel);
     _userService.CreateUserActivity(username, "Registered a car " + DateTime.Now);
 }