Пример #1
0
        public IHttpActionResult Get()
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest("Invalid data."));
            }

            return(Ok(repo.FindAll().Select(e => Mappers.MapUser.MappingUserToWeb(e))));
        }