public void UpdateLocation(Dtos.UpdateLocationInput input)
        {
            //We can use Logger, it's defined in ApplicationService base class.
            //ERROR: Logger doesn't exist in ApplicationService base Logger.Info("Updating a task for input: " + input);

            //Retrieving a task entity with given id using standard Get method of repositories.
            var type = _locationRepository.Get(input.Id.Value);

            //Updating changed properties of the retrieved task entity.
            //if (input.FirstName != string.Empty) customer.FirstName = input.FirstName.Value;
            type.City      = input.City;
            type.State     = input.State;
            type.IsDeleted = input.IsDeleted;
            //customer.Id = _productRepository.Load(input.AssignedPersonId.Value);
            //customer.Purchases = _productRepository.Load(input.CustomerId.Value);

            //We even do not call Update method of the repository.
            //Because an application service method is a 'unit of work' scope as default.
            //ABP automatically saves all changes when a 'unit of work' scope ends (without any exception).
        }