public LocationType Create(LocationType location)
        {
            if (string.IsNullOrWhiteSpace(location.Name))
            {
                throw new AppException("Name is required");
            }

            if (string.IsNullOrWhiteSpace(location.Info))
            {
                throw new AppException("Info is required");
            }

            _locationTypeRepository.Locations.Add(location);
            _locationTypeRepository.Save();
            return(location);
        }