public async Task <ActionResult> Delete([FromQuery] StaffDeleteModel staffDeleteModel)
        {
            var StaffDelete = await _staffService.DeleteUser(staffDeleteModel);

            return(Ok(StaffDelete));
        }
 public async Task <int> DeleteUser(StaffDeleteModel staffDeleteModel)
 {
     return(await _userRepository.DeleteUser(staffDeleteModel));
 }
 public async Task <int> DeleteUser(StaffDeleteModel staffDeleteModel)
 {
     return(await Command <StaffDeleteModel>("stf.DeleteStaff", staffDeleteModel));
 }