Esempio n. 1
0
        public ActionResult Create([FromBody] ToDoDataModel todoitem)
        {
            var objresponse = _buisnesslogic.Create(todoitem);

            return(SetResponse(objresponse));
        }
Esempio n. 2
0
        public override async Task <IActionResult> CreateAsync([FromBody] GameDto dto)
        {
            var record = await _businessLogic.Create(dto);

            return(Ok(record));
        }