public bool DeleteItemById(T model) { baseDal.DeleteItemById(model); int count = DBContent.SaveChanges(); if (count > 0) { return(true); } return(false); }