public IServiceResponse<Guid> CreateGroup(GroupModel group) { var serviceResponse = CreateGroup(new Domain.Models.Group { Name = group.GroupName, }); return serviceResponse; }
public class TestController : Controller{ public ActionResult Index() { var groups = CreateGroup(new GroupModel { GroupName = "Group1"}); ViewData["MyGroupData"] = groups; // Send this list to the view return View(groups.ToList()); }}
-- Thanks & Regards, RNA Team
Login to post response