Пример #1
0
        public ActionResult ContractAvailableProducts([DataSourceRequest] DataSourceRequest request, Guid contractId)
        {
            var data = repository.OBKContractAvailableProducts(contractId).Select(o => new ContractAvailableProducts
            {
                Name     = o.DrugFormFullName,
                Producer = o.ProducerNameRu
            });

            return(Json(data.ToDataSourceResult(request)));
        }