Exemplo n.º 1
0
        public async Task <IActionResult> DocumentCategoryBrand(int id)
        {
            var documents = await lostAndFoundType.GetDocumentTypesById(id);

            DocumentTypeViewModel model = new DocumentTypeViewModel
            {
                documentTypeId         = id,
                documentTypeName       = documents.documentTypeName,
                documentTypeNameBn     = documents.documentTypeNameBn,
                documentCategoryBrands = await lostAndFoundType.GetDocumentCategoryBrandByDocumentTypeId(id),
                fLang = _lang.PerseLang("MasterData/DocumentTypeEN.json", "MasterData/DocumentTypeBN.json", Request.Cookies["lang"]),
            };

            return(View(model));
        }