public void Delete(Leave leave) { try { leaveRepository.Delete(leave); } catch (Exception ex) { throw ex; } }
public DbResult Delete(string id) { return(repo.Delete(id)); }