/// <summary> /// Initializes a new instance of the <see cref="UserHostSearchDelete"/> class. /// </summary> /// <param name="search">The search.</param> public UserHostSearchDelete(UserHostSearch search) { if (search == null) { throw new ArgumentNullException("search"); } this.Id = search.Id; this.Title = search.Title; }
public void Test_UserHostSearchService_Insert() { var search = new UserHostSearch { Title = "test2" }; this.UserHostSearchService.Insert(search); Assert.AreEqual(2, search.Id, "Id"); Assert.AreEqual(1, search.UserId, "UserId"); Assert.AreEqual("test2", search.Title, "Title"); }
public void Update(UserHostSearch entity) { }
public void Insert(UserHostSearch entity) { }
public IPagedCollection<UserHost> GetResults(UserHostSearch search, ISpecification<UserHostSearch> specification) { return new PagedCollection<UserHost>(new List<UserHost>(), 1, 1, 0); }
public void Delete(UserHostSearch entity) { }