public IActionResult AddCashier(Cashier toAdd) { var wasAddSuccessful = _cashierRepository.AddCashier(toAdd); if (wasAddSuccessful) { return(Ok()); } return(Forbid()); }
public IActionResult AddCashier(Cashier toAdd) { var wasAddSuccessful = _cashierRepository.AddCashier(toAdd); if (wasAddSuccessful) { return(Ok()); } return(Forbid()); }