public ApiResult <List <OptionViewModel> > GetAllOption() { ApiResult <List <OptionViewModel> > result = new ApiResult <List <OptionViewModel> >(); List <OptionViewModel> list = manager.GetAllOption(); result.Result = list; return(result); }
public ApiResult <List <OptionViewModel> > GetAllOption() { ApiResult <List <OptionViewModel> > result = new ApiResult <List <OptionViewModel> >(); List <OptionViewModel> list = manager.GetAllOption(); result.Result = list; return(result); }