feat(api): UserController - CRUD, RoleController
This commit is contained in:
@@ -125,18 +125,22 @@ namespace PARR.API.Contracts.V1
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
public static class User
|
||||
{
|
||||
public const string GetAll = Base + "/users/";
|
||||
public const string Get = Base + "/users/" + getParam;
|
||||
public const string Delete = Base + "/users/" + getParam;
|
||||
public const string Create = Base + "/users/";
|
||||
public const string Update = Base + "/users/" + getParam;
|
||||
|
||||
//public static class Layer
|
||||
//{
|
||||
// public const string GetAll = Base + "/layers/";
|
||||
// public const string Get = Base + "/layers/" + getParam;
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
// public const string GetAreas = Base + "/layers/" + getParam + "/areas";
|
||||
// public const string GetPlaces = Base + "/layers/" + getParam + "/places";
|
||||
// public const string GetTemplates = Base + "/layers/" + getParam + "/templates";
|
||||
public static class Role
|
||||
{
|
||||
public const string GetAll = Base + "/roles/";
|
||||
}
|
||||
|
||||
// public const string getParam = "{id}";
|
||||
//
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user