if (entity.LogicalName == "account")
{
Entity cont = new Entity("account");
cont["emailaddress1"] = "TESTING";
Guid guid= service.Create(cont);
}
if (entity.LogicalName == "account")
{
Entity cont = new Entity("account");
cont["emailaddress1"] = "TESTING";
Guid guid= service.Create(cont);
}