-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFMTModule.cs
More file actions
35 lines (31 loc) · 935 Bytes
/
FMTModule.cs
File metadata and controls
35 lines (31 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using BExIS.Modules.Fmt.UI.Helper;
using System;
using Vaiona.Logging;
using Vaiona.Web.Mvc.Modularity;
namespace BExIS.Modules.Fmt.UI
{
public class FMTModule : ModuleBase
{
public FMTModule(): base("FMT")
{
}
public override void Install()
{
LoggerFactory.GetFileLogger().LogCustom("... start install of FMT ...");
try
{
base.Install();
using (var fmtSeedDataGenerator = new FmtSeedDataGenerator())
{
fmtSeedDataGenerator.GenerateSeedData();
}
}
catch (Exception e)
{
LoggerFactory.GetFileLogger().LogCustom(e.Message);
LoggerFactory.GetFileLogger().LogCustom(e.StackTrace);
}
LoggerFactory.GetFileLogger().LogCustom("... end install of FMT ...");
}
}
}