public async Task UpdateEntityTests()
        {
            var controller2 = new EmployeeController();
            controller2.SetFakeAuthenticatedControllerContext();
            controller2.rESTAPIWrapperClinet = new RESTAPIWrapperClinet(ServiceConfig.SectionName);
            var dto = CreateDTO();
            //create
            bool flag = await controller2.Post(dto);
            Assert.True(flag);

            //Get and Find it
            var getDto=await controller2.Find(dto, 1, 1);
            Assert.NotNull(getDto.Data);
            var dbEntity=getDto.Data as EasyuiDatagridData<EmployeeDto>;
            Assert.NotNull(dbEntity);
            Assert.NotEmpty(dbEntity.Rows);

            var pendingUpdateDto = dbEntity.Rows.FirstOrDefault();
            pendingUpdateDto.Title = "xxxx";

            //Update
            bool updateflag=await controller2.Put(pendingUpdateDto);
            Assert.True(updateflag);

            //Delete
             bool deleteflag=await controller2.Delete(pendingUpdateDto.EmployeeID);
             Assert.True(deleteflag);
        }
        /// <summary>
        /// TestAsync
        /// </summary>
        /// <returns>Task.</returns>
        /// <see cref="http://bradwilson.typepad.com/blog/2012/01/xunit19.html" />
        public async Task TestAsync()
        {
            var controller = new EmployeeController();
            var result=await controller.Get(1);

            Assert.NotNull(result.Data);
       
        }
        //[AutoRollback]
        public async Task GetEntityTest()
        {
            var controller = new EmployeeController();
            controller.rESTAPIWrapperClinet = new RESTAPIWrapperClinet(ServiceConfig.SectionName);
            var results=await controller.Get(1);

            var dto=results.Data as EmployeeDto;
            Assert.NotNull(dto);
        }