public Task <int> SaveItemAsync(PatientNotesItem item) { if (item.ID != 0) { return(connection.UpdateAsync(item)); } else { return(connection.InsertAsync(item)); } }
public Task <int> DeleteItemAsync(PatientNotesItem item) { return(connection.DeleteAsync(item)); }