Ejemplo n.º 1
0
        public Manufacturer GetManufacturerById(int id)
        {
            DAL.Entity.Manufacturer manufacturer       = _dal.GetManufacturerById(id);
            BLL.Models.Manufacturer manufacturerResult = null;

            manufacturerResult = new BLL.Models.Manufacturer
            {
                Id          = manufacturer.Id,
                Name        = manufacturer.Name,
                Description = manufacturer.Description,
                Logo        = manufacturer.Logo
            };
            return(manufacturerResult);
        }