public IActionResult Get()
        {
            var activityTypeModels = _activityTypeService.GetAll()

                                     .ToApiModels();

            return(Ok(activityTypeModels));
        }
Ejemplo n.º 2
0
 public IEnumerable <ActivityType> GetActivityTypes()
 {
     return(activityTypeService.GetAll());
 }