public static HtmlString CreateProductList(ClaimsPrincipal claims, List <ProductViewModel> products) { var user = claims as User; return(new HtmlString(TableHelper.CreateTable(user, products))); }
public static HtmlString CreateUserList(ClaimsPrincipal claims, List <UserViewModel> users) { var user = claims as User; return(new HtmlString(TableHelper.CreateTable(user, users))); }
public static HtmlString CreateSensorInfoTable(SensorInfoViewModel viewModel) { return(new HtmlString(TableHelper.CreateSensorInfoTable(viewModel))); }