示例#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);
 }