Base solution for your next web application

Activities of "asbbh"

Hi. Server Docker is able to connect with docker SQL. The only issue in migration Docker. It is unable to connect. The error is throwing in the connection initialization part (your code)

HI,

  • I have added a property StaffId in src/SchoolAut0mater.Application.Shared/Sessions/Dto/GetCurrentLoginInformationsOutput.cs.
  • In src/SchoolAut0mater.Application/Sessions/SessionAppService.cs, I have initialize the value
output.Tenant.SubscriptionDateString = GetTenantSubscriptionDateString(output);
                output.Tenant.CreationTimeString = output.Tenant.CreationTime.ToString("d");

                try
                {
                    if (AbpSession.UserId.HasValue)
                    {
                        var emailAddress = $"{output.User.EmailAddress}".Trim();
                        var currentStaff = await _staffMasterRepo.FirstOrDefaultAsync(s => string.Equals(s.SchoolEmail, emailAddress));
                        if (currentStaff != null)
                        {
                            output.User.StaffId = currentStaff.Id;
                        }
                    }
                }
                catch { }

But on client side I am not able to see any data in abp.

Showing 1 to 2 of 2 entries