azure-0.0.4: Dzhus/provider update (#110)
Pre-release
Pre-release
* add js code and fix Register view * update User and RegisterViewModel * add migration updatedUser * add property Name and change migration 'updatedUser' * added validation to the properties * edit migration 'Init' and Login view * fix codesmells * fix issues * changed Name to FirstName and fix migrations * update Provider model * update Workshop model * add migration "UpdatedProviderAndWorkshop" * changed launchUrl and made endpoints Get and GetById available for not authorized users * updated method "Create" in ProviderContorller, solved problem "Lazy Loading is messing with Navigation properties", updated mapping extesions for provider and fix issues. * added new endpoint "GetProviderByUserId" * add UserControllers and endpoints for User entity * fix issues * made Get and GetById endpoints in Workshop and Teacher Controller accessible for unauthorized users * update method Delete in ProviderService * fixed unit tests and commit unsuccessful tests * fix codesmells * Moved the logic of creating a provider from ProviderController to ProviderService. Resolved problem with address dublication. Overrided the methods Equals and GetHashCode in AddressDto. * removed class ErrorDetails and replaced it with AnonymousType * Changed logic of creation new Provider. Added new method in GenericRepository. * Added new logic for deleting Provider and fixed issues * removed AddressRepository from ProviderService