Exemplo n.º 1
0
        public void GetAllBranches()
        {
            var dataService = new DataServiceClient();

            var branches = dataService.GetBranches();

            Assert.IsTrue(branches.Any());
        }
Exemplo n.º 2
0
        //[Test]
        public void UpdateFaculty()
        {
            var dataService = new DataServiceClient();

            var branch = dataService.GetBranches().Last();

            var faculty = dataService.GetFaculties(new Branch { Id = 297 }).Last();
            faculty.BranchId = branch.Id;

            var result = dataService.Update(faculty);
        }