//private const string FileLocationFolderDbSave = "./Content/Files/"; // GET: Form public ActionResult Index() { var formsList = Uow.Forms.GetAll() .ProjectTo <FormModel>() .ToList(); var documentTypeList = ListProviderSvc.GetDocumentTypes(); var insuranceProviderList = ListProviderSvc.GetInsuranceProviders(); var clientList = ListProviderSvc.GetClientSimpleList(); var formViewModel = new FormViewModel { NewForm = new FormModel(), FormsList = formsList, DocumentTypes = documentTypeList, InsuranceProviders = insuranceProviderList, Clients = clientList }; return(View(formViewModel)); }