public ActionResult Create(LocationViewModel locationViewModel) { if (ModelState.IsValid) { _buisnessLogicClass.CreateNewLocation(locationViewModel); return(View("Details", locationViewModel)); } else { return(BadRequest()); } }