public ActionResult SocialNetworkInsert(GridCommand command, SocialNetworkModel model) { socialNetworkService.Save(new SocialNetwork() { EntityId = model.EntityId, EntityName = nameof(ApplicationUser), Name = model.Name, WebAddress = model.WebAddress, OrderNo = model.OrderNo, IsActive = true, }); return(SocialNetworkList(command, model.EntityId)); }
public ActionResult SocialNetworkInsert(GridCommand command, SocialNetworkModel model) { socialNetworkService.Save(new SocialNetwork() { EntityId = model.EntityId, EntityName = nameof(Core.Entities.TeamMember), Name = model.Name, WebAddress = model.WebAddress, OrderNo = model.OrderNo, IsActive = true, }); return(SocialNetworkList(command, Convert.ToInt32(model.EntityId))); }