Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Cannot Access Forms using GetFormsInfo

$
0
0

I have a page that I navigate to after a form submission that i want to display information about the submitted form. I am able to access the data using _formDataRepository.GetSubmissionData. However, I cannot access the actual FORM itself, it just returns an empty list when calling _formRepository.Service.GetFormsInfo(null); Below is my current code:

public class Controller: PageController<PageData>
{

private Injected<IFormRepository> _formRepository;

public ActionResult Index(CompletePage currentPage)
{

var info = _formRepository.Service.GetFormsInfo(null);

}

Info always returns no results


Viewing all articles
Browse latest Browse all 9076

Trending Articles