public ActionResult <IEnumerable <UserInterfaceModel> > Get() { var entities = _businessLogicService.GetAll(); return(Ok(entities.Select( (x, i) => new UserInterfaceModel { Index = i, Property = x.Property } ))); }