private static Core.Model.CoreBills MapBills(Model.Bills bills)
        {
            return bills  is null ? null : new Core.Model.CoreBills
            {
                Id = bills.Id,
                BillDate = bills.BillDate,
                Cost = bills.Cost,
                Location = bills.Location,
                PurchaseName = bills.PurchaseName,
                Quantity = bills.Quantity,
                UserId = bills.UserId
            };

        }
        public async Task<bool> RemoveBillAsync(int id)
        {
            Model.Bills bills = await _context.Bills.FindAsync(id);

            if (bills is null)
            {
                return false;
            }

            _context.Remove(bills);

            int written = await _context.SaveChangesAsync();

            return written > 0;
        }