feat(api): appInWorkContoller добавлен метод Create
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace PARR.API.Contracts.V1
|
||||
namespace PARR.API.Contracts.V1
|
||||
{
|
||||
// https://tproger.ru/translations/luchshie-praktiki-razrabotki-rest-api-20-sovetov/
|
||||
|
||||
@@ -281,7 +279,6 @@ namespace PARR.API.Contracts.V1
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Job
|
||||
@@ -291,7 +288,13 @@ namespace PARR.API.Contracts.V1
|
||||
public static class Job
|
||||
{
|
||||
public const string GetAll = Base + "/jobs/";
|
||||
//public const string Get = Base + "/jobs/" + getParam;
|
||||
public const string Get = Base + "/jobs/" + getParam;
|
||||
|
||||
public const string GetScheduler = Base + "/jobs/" + getParam + "/scheduller";
|
||||
|
||||
public const string Delete = Base + "/jobs/" + getParam;
|
||||
public const string Create = Base + "/jobs/";
|
||||
public const string Update = Base + "/jobs/" + getParam;
|
||||
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user