public OperationDetails AddEditProject(ProjectModel projectModel) { log.Debug(MethodHelper.GetCurrentMethodName() + " Method execution start."); OperationDetails operationDetails = null; try { using (ProjectDB projectDB = new ProjectDB()) { operationDetails = projectDB.AddEditProject(projectModel); } return(operationDetails); } catch (Exception exception) { errorLog.Fatal("Exception " + exception.Message + "\n" + exception.StackTrace); throw; } finally { log.Debug(MethodHelper.GetCurrentMethodName() + " Method execution end."); } }