Exemple #1
0
        public async Task <ActionResult> DownloadMfn(int fundId)
        {
            using (var dataAccess = new MasterSideLetterDataAccess(_connectionStrings.MasterSideLetterDb))
            {
                var document = await dataAccess.GetFundMfnAsync(fundId);

                return(File(document.Content, System.Net.Mime.MediaTypeNames.Application.Octet, document.Name));
            }
        }