public LoaiModel CreateLoai([FromBody] LoaiModel model) { model.ma_loai = Guid.NewGuid().ToString(); _itemBusiness.Create(model); return(model); }
public LoaiModel CreateItem([FromBody] LoaiModel model) { _itemBusiness.Create(model); return(model); }