Cms/409 Task 5 Receiving site's UID model (#28)
Cms/409 Task 5 Receiving site's UID model (#28)

* CMS/409 Created Domain model with getUid method

* CMS/409 Fixed collection's name

* CMS/409 Fixed getUid method

* Edit module.exports section

so from outside you will have to write:
const getDomainURL = require('../model.domain');
var(or let if you can) uid = getDomainURL.getDomain('bla-bla.bla');

* CMS/409 Modified model

Deleted exports.
Added static method to schema.

* CMS/409 Fixed statics method and added model exports

* CMS/409 Renamed method properly

* CMS/409 Fix method findByDomain

hwdtech/cms-internship,hwdtech/cms-internship