public Task <bool> PostNewDocument(ta_MasterOfDocument doc) { return(Task.Factory.StartNew(() => { if (!Request.ValidateKmoAuthorizeToken()) { return false; } try { Services.DbOperation(doc, Enums.EntityMode.Insert); return true; } catch (Exception x) { throw x; } })); }
public Task <bool> PostUpdateDocument(ta_MasterOfDocument doc) { throw new NotImplementedException(); }