public IActionResult UpdateCustomer(int id, ReqCus cu)
        {
            var customer = _context.Customers.First(i => i.Id == id);

            customer.Fullname = cu.data.attributes.Fullname;

            _context.Customers.Update(customer);
            _context.SaveChanges();
            return(Ok(customer));
        }
 public IActionResult PostCustomer(ReqCus customer)
 {
     _context.Customers.Add(customer.data.attributes);
     _context.SaveChanges();
     return(Ok(customer));
 }