コード例 #1
0
        public string BindingComment(int id)
        {
            Context.SalesOrder items = RepoSalesOrder.FindByProsesKonsolidasi(id);

            return(new JavaScriptSerializer().Serialize(new
            {
                data = items.SalesOrderProsesKonsolidasi.SalesOrderProsesKonsolidasiComment.ToList().Select(d => new
                {
                    Id = d.Id,
                    Tanggal = d.Tanggal,
                    CommentUser = d.CommentUser,
                    Username = d.Username,
                    Action = d.Action
                })
            }));
        }