public List <UserTypes> GetAllPriceList() { var list = _clienteServices.GetAllPriceList(); List <UserTypes> retlist = new List <UserTypes>(); foreach (var i in list) { retlist.Add(new UserTypes() { Code = i.Code, Descripcion = i.Descripcion }); } return(retlist); }