BlueCollar.Dashboard.DeleteScheduledJobHandler.PerformRequest C# (CSharp) Method

PerformRequest() protected method

Performs the concrete request operation and returns the output as a byte array.
protected PerformRequest ( System.Web.HttpContextBase context ) : byte[]
context System.Web.HttpContextBase The HTTP context to perform the request for.
return byte[]
        protected override byte[] PerformRequest(HttpContextBase context)
        {
            if (this.Id > 0)
            {
                this.Repository.DeleteScheduledJob(this.Id, null);
            }
            else
            {
                BadRequest();
            }

            return null;
        }