public List <Element> GetElementsByCategoryId(int id) { return(_elementService.GetByCategoryId(id).ToList()); }