コード例 #1
0
        public ActionResult <IEnumerable <UserInterfaceModel> > Get()
        {
            var entities = _businessLogicService.GetAll();

            return(Ok(entities.Select(
                          (x, i) => new UserInterfaceModel {
                Index = i,
                Property = x.Property
            }
                          )));
        }