internal string DeleteAllByVaultId(int id) { if (_repo.DeleteAllByVaultId(id)) { return("deleted successfully"); } throw new Exception ("something went wrong, not deleted"); }
internal string DeleteAllByVaultId(int id) { if (_repo.DeleteAllByVaultId(id)) { return("deleted successfully"); } throw new Exception ("something went wrong, not deleted"); }