예제 #1
0
 public LoaiModel CreateLoai([FromBody] LoaiModel model)
 {
     model.ma_loai = Guid.NewGuid().ToString();
     _itemBusiness.Create(model);
     return(model);
 }
예제 #2
0
 public LoaiModel CreateItem([FromBody] LoaiModel model)
 {
     _itemBusiness.Create(model);
     return(model);
 }