public ActionResult Create([FromBody] ToDoDataModel todoitem) { var objresponse = _buisnesslogic.Create(todoitem); return(SetResponse(objresponse)); }
public override async Task <IActionResult> CreateAsync([FromBody] GameDto dto) { var record = await _businessLogic.Create(dto); return(Ok(record)); }