예제 #1
0
        public async Task <MxReturnCode <bool> > CreateRpdAsync(string email, string fullName, RpdChildFlag childFlag, string roleName, Guid identityUserId)
        {
            MxReturnCode <bool> rc = new MxReturnCode <bool>("SystemRepo.CreateRpdAsync()");

            if (String.IsNullOrWhiteSpace(email))
            {
                rc.SetError(1040201, MxError.Source.Param, "invalid email");
            }
            else
            {
                try
                {
                    //Pass AspNetUsers.ID
                    //Pass Role name
                    //Get URD ID
                    //Get all WXR for URDID
                    //Find lastest WST in WXR list
                    //create RPD
                    //Create UTA for WST and RPD
                }
                catch (Exception e)
                {
                    rc.SetError(1040202, MxError.Source.Exception, e.Message, MxMsgs.MxErrDbQueryException);
                }
            }
            return(rc);
        }
예제 #2
0
 public Task <MxReturnCode <bool> > UpdateRpdAsync(string email, string fullName, RpdChildFlag childFlag)
 {
     throw new NotImplementedException();
 }