public CategoryDTO GetById(int id) { CategoryLogic logic = new CategoryLogic(); CategoryDTO output = logic.MapCategoryToDtoUsingId(id); return(output); }