public IActionResult CreateCustomer( string fullname, string gender, string job, DateTime birthday, int width, int weight, int countChild, string adress, string passport, int nationalityId, int zodiacSignId ) { Customer createdCustomer = _dbService.AddCustomer( fullname, gender, job, birthday, width, weight, countChild, adress, passport, nationalityId, zodiacSignId ); HttpContext.Session.SetString("Customer", JsonConvert.SerializeObject(createdCustomer)); //Response.Cookies.Append("Service", JsonConvert.SerializeObject(createdService)); return(RedirectToAction("Customers")); }