public bool DeleteCustomerFeedback(CustomerFeedback customerFeedback) { _context.CustomerFeedback.Remove(customerFeedback); _context.SaveChanges(); return(true); }
public bool EditCustomerFeedback(CustomerFeedback customerFeedback) { _context.CustomerFeedback.Update(customerFeedback); _context.SaveChanges(); return(true); }
public bool SaveCustomerFeedback(CustomerFeedback customerFeedback) { _context.CustomerFeedback.Add(customerFeedback); _context.SaveChanges(); return(true); }