// POST api/<controller> /// <summary> /// Posts the specified value. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public Branch Post([FromBody] Branch value) { Branch objItem = new Branch(); try { objItem = BranchManager.AddItem(value); } catch (Exception ObjEx) { IfindLogManager.AddItem(new IfindLog() { LinkUrl = Request.RequestUri.AbsoluteUri, Exception = ObjEx.Message, Message = ObjEx.StackTrace }); } return(objItem); }