Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public static List <CategoryDto> GetProductsCategories() { //categories from dataBase List <Category> categories = CategoryDal.GetProductsCategories(); List <CategoryDto> dtoCategories = new List <CategoryDto>(); for (int i = 0; i < categories.Count; i++) { dtoCategories.Add(new CategoryDto(categories[i])); } return(dtoCategories); }