I have a class called Questions (plural). In this class there is an enum called Question (singular) which looks like this.
Questions
Question
public e
Try this one instead of convert enum to int:
public static class ReturnType { public static readonly int Success = 1; public static readonly int Duplicate = 2; public static readonly int Error = -1; }