public HttpResponseMessage Delete([FromUri] int id, [FromBody] int modifiedBy) { AccountOpeningBalance Account = new AccountOpeningBalance(); Account.ID = id; Account.ModifiedBy = modifiedBy; return(Request.CreateResponse(HttpStatusCode.OK, Account.Delete())); }
public HttpResponseMessage Get([FromUri] int id, [FromBody] int CompanyId) { return(Request.CreateResponse(HttpStatusCode.OK, AccountOpeningBalance.GetDetails(id, CompanyId))); }
public HttpResponseMessage Get1() { return(Request.CreateResponse(HttpStatusCode.OK, AccountOpeningBalance.GetDetails())); }