* replace NewtonSoft with System.Text.Json * not use auth for brande and types and use GetFromJsonAsync * fix * fix * Auth HttpGet more simple. * Put, Delete and Post more simple. * Fixed Edit for remove image and keep image and change other fields. Added description required in Blazor Admin. * Removed using not used * Refactor AuthService and introduce HttpService. add validation for price. * return null in HttpService if not success. * Limt Price to 1000 mximum * DI for Blazor Services * one blazor service. * fix
12 lines
410 B
C#
12 lines
410 B
C#
namespace BlazorAdmin.JavaScript
|
|
{
|
|
public static class JSInteropConstants
|
|
{
|
|
public static string DeleteCookie => "deleteCookie";
|
|
public static string GetCookie => "getCookie";
|
|
public static string RouteOutside => "routeOutside";
|
|
public static string HideBodyOverflow => "hideBodyOverflow";
|
|
public static string ShowBodyOverflow => "showBodyOverflow";
|
|
}
|
|
}
|