public void TestDeleteWeekOrder()
        {
            User        user  = _userManager.FindByName("employee");
            WeekYearDto wyDto = new WeekYearDto
            {
                Week = 19,
                Year = 2016
            };
            WeekOrderMenu weekOrderMenu = _weekOrderMenuService.FindByUserIdWeekYear(user.Id, wyDto);

            _weekOrderMenuService.Delete(weekOrderMenu);
            weekOrderMenu = _weekOrderMenuService.FindByUserIdWeekYear(user.Id, wyDto);
            Assert.IsNull(weekOrderMenu);
        }
        public async Task <IHttpActionResult> NextWeekOrderExists()
        {
            WeekYearDto curWeekYearDto  = YearWeekHelp.GetCurrentWeekYearDto();
            WeekYearDto nextWeekYearDto = YearWeekHelp.GetNextWeekYear(curWeekYearDto);

            string userid = RequestContext.Principal.Identity.GetUserId();

            WeekOrderMenu wom = _orderMenuService.FindByUserIdWeekYear(userid, nextWeekYearDto);

            return(Ok(wom != null));
        }