Ejemplo n.º 1
0
 public CommunityOperationResult AddCommunityMember(CommunityMemberModel model)
 {
     return(new CommunityOperationResult()
     {
         IsSucceed = RandomHelper.Bool()
     });
 }
        public async Task <ActionResult> AddUpdate(CommunityMemberModel request)
        {
            if (TryValidateModel(Request))
            {
                var communityMemberLogic = LogicContext.Create <CommunityMemberLogic>();
                await communityMemberLogic.AddUpdateCommunityMember(request);

                return(RedirectToAction("Index", "CommunityMember"));
            }
            return(View("Index", Request));
        }
Ejemplo n.º 3
0
 public CommunityOperationResult AddCommunityMember(CommunityMemberModel model)
 {
     return new CommunityOperationResult() { IsSucceed = RandomHelper.Bool() };
 }