public static string GetContentType(ProcessedEntityType taskType) { if (Types.ContainsValue(taskType)) { return Types.FirstOrDefault(p => p.Value == taskType).Key; } return null; }
public static string GetContentType(ProcessedEntityType taskType) { if (Types.ContainsValue(taskType)) { return(Types.FirstOrDefault(p => p.Value == taskType).Key); } return(null); }
public static string GetControllerName(ProcessedEntityType taskType) { return taskType.ToString().ToLowerInvariant(); }
public static string GetControllerName(ProcessedEntityType taskType) { return(taskType.ToString().ToLowerInvariant()); }