public OrganisationDTO(Models.Database.Organisation organisation, OrganisationAccessLog organisationAccessLog, int total, int balance) { Id = organisation.Id.ToString(); Balance = balance; Name = organisation.Name; Total = total; }
public OrganisationDTO(Models.Database.Organisation organisation, OrganisationCounter orgCounter, int total) { Id = organisation.Id.ToString(); Balance = orgCounter?.Balance ?? 0; Name = organisation.Name; Total = total; }