public ResultDto DeleteLesson(IdDto idToDelete)
{
this.SetResponseHeaderCacheExpiration();
AccountPassword credentials = this.GetCredentialsFromRequest();
AccountServerService accountService = new AccountServerService();
Guid accountId = accountService.GetAccountId(credentials.Account);
LessonServerService service = new LessonServerService();
return service.DeleteLesson(idToDelete.Id, accountId);
}