public ActionResult UpdateStaff([FromBody] Staff s)
 {
     if (StaffRepo.Update(s))
     {
         return(Ok("Staff has been successfull updated"));
     }
     return(NotFound("The Staff record is not found"));
 }
 public IActionResult UpdateStaff([FromBody] StaffModel staff)
 {
     if (StaffRepo.Update(staff))
     {
         return(Ok($"Successfully updated {staff.name}'s details."));
     }
     else
     {
         return(NotFound($"Staff member was not found."));
     }
 }