fix resize and and find first parent method to task

acda
Merge branch 'master' of https://github.com/ElGamzoGamingStudio/DB-project

Conflicts:
	PathToSuccess/PathToSuccess/DAL/SqlRepository.cs