public Task <Item> Create(Guid playerId, NewItem item)
 {
     return(_processor.Create(playerId, item));
 }
 public Task <Item> Create(Guid playerId, /*[FromBody]*/ NewItem item)
 {
     return(_processor.Create(playerId, item));
 }
Exemple #3
0
 public Task <Item> Create(Guid playerId, [FromBody] NewItem Item)
 {
     return(itemsProcessor.Create(playerId, Item));
 }
 //[ValidateModel]
 public async Task <Item> Create([FromBody] NewItem item)
 {
     return(await _processor.Create(item));
 }
Exemple #5
0
 public Task <Item> Create(Guid playerId, [FromBody] NewItem item)
 {
     return(pros.Create(playerId, item));
 }