예제 #1
0
        public ActionResult <DashboardItem> Create([FromBody] DashboardItem dashboardItem)
        {
            _dashboardService.Create(dashboardItem);

            return(CreatedAtRoute("GetDashboardItem", new { id = dashboardItem.Id.ToString() }, dashboardItem));
        }