コード例 #1
0
        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()));
        }
コード例 #2
0
 public HttpResponseMessage Get([FromUri] int id, [FromBody] int CompanyId)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, AccountOpeningBalance.GetDetails(id, CompanyId)));
 }
コード例 #3
0
 public HttpResponseMessage Get1()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, AccountOpeningBalance.GetDetails()));
 }