Skip to content

Instantly share code, notes, and snippets.

View iyhammad's full-sized avatar

Ibrahim Hammad iyhammad

  • Berlin, Germany
View GitHub Profile
@iyhammad
iyhammad / mycontroller.ts
Created January 24, 2016 20:02
Sample Angular TypeScript Controller that use ABP generated defenitions
module app.views.employee.basicInformation {
export class add {
private employee: any;
private addEntry: () => void;
private isValidBusinessData: boolean;
private directorates: Array<any>
private departments: Array<any>;
private units: Array<any>;
private locations: Array<any>;
@iyhammad
iyhammad / TestDbContextResolver.cs
Last active October 10, 2019 19:12
TestDbContextResolver
using System;
using System.Collections.Generic;
using System.Data.Common;
using Abp.Dependency;
using Abp.Domain.Uow;
using Abp.EntityFramework;
using Abp.MultiTenancy;
using Abp.Runtime.Session;
using Effort;
using Abp.Collections.Extensions;
@iyhammad
iyhammad / CustomMailKitSmtpBuilder.cs
Created April 11, 2018 08:30
CustomMailKitSmtpBuilder --- Compatible with Office 365
using Abp.MailKit;
using Abp.Net.Mail.Smtp;
using MailKit.Net.Smtp;
using MailKit.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SystemX.Web.MailBauilder