/// <summary> /// /// </summary> /// <returns></returns> public IEnumerable <Contracts.Product> GetAll() { var products = _repositoryHelper.Get(); var contract = new List <Contracts.Product>(); _mapper.Map(products, contract); return(contract); }