init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
17
KretaWeb/Helpers/Error/StatusErrorFactory.cs
Normal file
17
KretaWeb/Helpers/Error/StatusErrorFactory.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System.Net;
|
||||
|
||||
namespace Kreta.Web.Helpers.Error
|
||||
{
|
||||
public static class StatusErrorFactory
|
||||
{
|
||||
public static StatusError GetSorolasStatusErrorWithReloadDDL(string message)
|
||||
{
|
||||
return new StatusError(HttpStatusCode.BadRequest, message) { CloseFunction = "KretaOsztalybaSorolasHelper.afterErrorReloadDDL();" };
|
||||
}
|
||||
|
||||
public static StatusError GetSorolasStatusError(string message)
|
||||
{
|
||||
return new StatusError(HttpStatusCode.BadRequest, message);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue