Commit 8569ac26 authored by Almouhannad's avatar Almouhannad

(B) Edit response for get all recepionist users :)

parent 6ea0016b
......@@ -12,7 +12,7 @@ public class GetAllReceptionistUsersResponse
public string UserName { get; set; } = null!;
public string FullName { get; set; } = null!;
}
public ICollection<GetAllReceptionistUsersResponseItem> DoctorUsers { get; set; } = [];
public ICollection<GetAllReceptionistUsersResponseItem> ReceptionistUsers { get; set; } = [];
public static Result<GetAllReceptionistUsersResponse> GetResponse(ICollection<ReceptionistUser> receptionistUsers)
{
......@@ -31,7 +31,7 @@ public class GetAllReceptionistUsersResponse
}
return new GetAllReceptionistUsersResponse
{
DoctorUsers = result
ReceptionistUsers = result
};
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment