public OperationResult Delete(string ID) { var model = SALES_FAVFOLDERList.FirstOrDefault(t => t.ID == ID); SALES_FAVFOLDERRepository.Delete(model); return(new OperationResult(OperationResultType.Success, "successfully deleted")); }
public int DeleteBysql(string favId) { return(SALES_FAVFOLDERRepository.Delete(favId)); }