예제 #1
0
 public void SaveUserToInventory(int userId, int inventoryId)
 {
     NonResultQuerry(InventorySql.SaveUserToInventory(userId, inventoryId));
 }
예제 #2
0
 public void UpdateInventory(InventoryDto inventoryDto)
 {
     NonResultQuerry(InventorySql.UpdateInventory(inventoryDto));
 }
예제 #3
0
 public void InsertReport(InventoryReportDto raport)
 {
     NonResultQuerry(InventorySql.InsertInventoryReport(raport));
 }
예제 #4
0
 public void RemoveAllUsersFromInventory(int inventoryId)
 {
     NonResultQuerry(InventorySql.RemoveAllUsersFormInventory(inventoryId));
 }
예제 #5
0
 public InventoryReportDto GetReportForInventory(int inventoryId)
 {
     return(QueryForObject <InventoryReportDto>(InventorySql.GetReportForInventory(inventoryId)));
 }
예제 #6
0
 public void InsertInventory(InventoryDto inventoryDto)
 {
     NonResultQuerry(InventorySql.InsertInventory(inventoryDto));
 }
예제 #7
0
 public IEnumerable <InventoryEventDto> GetInventoryEventsByInventoryId(int invenoryId)
 {
     return(QuerryForList <InventoryEventDto>(InventorySql.GetInventoryEventsByInventoryId(invenoryId)));
 }
예제 #8
0
 public InventoryProductDto GetInventoryProductByProductId(int productId)
 {
     return(QueryForObject <InventoryProductDto>(InventorySql.GetInventoryProductByProductId(productId)));
 }
예제 #9
0
 public int GetInventoryAssignedToUser(int userId)
 {
     return(QueryForObject <int>(InventorySql.GetInventoryAssignedToUser(userId)));
 }
예제 #10
0
 public InventoryDto GetInventoryById(int inventoryId)
 {
     return(QueryForObject <InventoryDto>(InventorySql.GetInventoryById(inventoryId)));
 }
예제 #11
0
 public IEnumerable <InventoryProductDto> GetAllInventoryProductsByInventoryId(int inventoryId)
 {
     return(QuerryForList <InventoryProductDto>(InventorySql.GetInventoryProductsByInventoryId(inventoryId)));
 }
예제 #12
0
 public IEnumerable <InventoryDto> GetAllInventoriesByStatus(int?statusId)
 {
     return(QuerryForList <InventoryDto>(InventorySql.GetAllInventoriesByStatus(statusId)));
 }
예제 #13
0
 public IEnumerable <InventorySearchDto> GetAllActiveInventorySearch()
 {
     return(QuerryForList <InventorySearchDto>(InventorySql.GetAllActiveInventorySearches()));
 }
예제 #14
0
 public void AddInventoryProduct(InventoryProductDto inventoryProduct)
 {
     NonResultQuerry(InventorySql.AddInventoryProduct(inventoryProduct));
 }
예제 #15
0
 public void AddInventoryEvent(InventoryEventDto inventoryEvent)
 {
     NonResultQuerry(InventorySql.AddInventoryEvent(inventoryEvent));
 }