Microsoft.Legal.MatterCenter.ValidationFunctions.GenericResponse C# (CSharp) Method

GenericResponse() public method

public GenericResponse ( string code, string value ) : GenericResponseVM
code string
value string
return Microsoft.Legal.MatterCenter.Models.GenericResponseVM
        public GenericResponseVM GenericResponse(string code, string value)
        {
            GenericResponseVM genericResponseVM = new GenericResponseVM();
            genericResponseVM.Code = errorSettings.IncorrectInputUserRolesCode;
            genericResponseVM.Value = errorSettings.IncorrectInputUserRolesMessage;
            return genericResponseVM;
        }