public CodeResultModel(bool result, RedirectUrlModel redirectUrlModel, CodeBaseSharedModel codeBaseShared) { this.Result = result; this.RedirectUrlModel = redirectUrlModel; this.CodeBaseShared = codeBaseShared; }
public EngineResponseModel InitGet(ResultOperation resultOperation, List <MessageModel> listMessageModel, RedirectUrlModel redirectUrlModel, FormModel formModel = null) { this.ResultOperation = resultOperation; this.ListMessageModel = listMessageModel; this.FormModel = formModel; this.RedirectUrlModel = redirectUrlModel; this.IsSubmit = true; return(this); }
public EngineResponseModel InitPost(ResultOperation resultOperation, List <MessageModel> listMessageModel, RedirectUrlModel redirectUrlModel, bool isSubmit = true, List <DownloadModel> listDownloadModel = null) { this.ResultOperation = resultOperation; this.ListMessageModel = listMessageModel; this.FormModel = null; this.RedirectUrlModel = redirectUrlModel; this.IsSubmit = isSubmit; this.ListDownloadModel = listDownloadModel; return(this); }