Ejemplo n.º 1
0
        public async Task <IActionResult> Add([FromBody] GroupDto group)
        {
            var added = await _userLogic.AddGroup(group);

            if (added == null)
            {
                return(NotFound());
            }

            return(Ok(added));
        }