Пример #1
0
        public async Task <ActionResult> Details(int id)
        {
            FreightType freightType = await freightTypeRepository.FindFreightTypesByIDAsync(id);

            if (freightType == null)
            {
                return(HttpNotFound());
            }
            return(View(freightType));
        }