changed the response for self Registration
This commit is contained in:
parent
7273f49b3f
commit
eed4e4cf31
@ -944,7 +944,7 @@ namespace Marco.Pms.Services.Controllers
|
|||||||
_logger.LogInfo("Tenant enquiry created successfully. ID: {TenantEnquireId}", tenantEnquire.Id);
|
_logger.LogInfo("Tenant enquiry created successfully. ID: {TenantEnquireId}", tenantEnquire.Id);
|
||||||
|
|
||||||
// Return success response with proper status code and user information
|
// Return success response with proper status code and user information
|
||||||
return Ok(ApiResponse<object>.SuccessResponse(model, "Tenant enquiry added successfully.", 201));
|
return Ok(ApiResponse<object>.SuccessResponse(tenantEnquire, "Tenant enquiry added successfully.", 201));
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user