public async Task <bool> UpdateCustomerAsync(Customer customer)
        {
            _context.Customers.Attach(customer);
            _context.Entry(customer).State = EntityState.Modified;

            try
            {
                return(await _context.SaveChangesAsync() > 0 ? true : false);
            }
            catch (Exception ex)
            {
                _Logger.LogError($"Error in {nameof(UpdateCustomerAsync)} :" + ex.Message);
            }
            return(false);
        }