public async Task <T1> Delete(T2 recordId) { var recordForDel = await Get(recordId); if (recordForDel != null) { _db.Remove(recordForDel); await _db.SaveChangesAsync(); } return(recordForDel); }