public void SaveLocation(LocationViewModel viewModel) { var location = new Location { Name = viewModel.Name, Description = viewModel.Description }; context.AddLocation(location); }