// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// DeleteDirect /// </summary> /// <param name="viewId">viewId</param> /// <param name="companyId">companyId</param> public void DeleteDirect(int viewId, int companyId) { WorkViewDisplay workViewDisplay = new WorkViewDisplay(null); workViewDisplay.DeleteDirect(viewId, companyId); WorkViewCondition workViewCondition = new WorkViewCondition(null); workViewCondition.DeleteDirect(viewId, companyId); WorkViewSort workViewSort = new WorkViewSort(null); workViewSort.DeleteDirect(viewId, companyId); WorkViewGateway workViewGateway = new WorkViewGateway(null); workViewGateway.Delete(viewId, companyId); }