public void Test_AddType() { var data = new EfData(); var expected = new ServiceType { Name = "Butcher", Rate = 8.00M, UserId = "60d9002e-667f-4794-a9dd-670c0ecf56c9" }; var actual = data.AddType(expected); Assert.True(actual); }
public bool AddType(ServiceTypeDAO service) { return(ef.AddType(ServiceTypeMapper.MapToServiceType(service))); }