Add project files.
This commit is contained in:
		| @@ -0,0 +1,15 @@ | ||||
| namespace Core.Cerberos.Infraestructure.PerformanceCacheService | ||||
| { | ||||
|     [AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)] | ||||
|     public class CacheAttribute : Attribute | ||||
|     { | ||||
|         public int CacheDurationInMinutes { get; set; } | ||||
|         public bool EnableCaching { get; set; } | ||||
|  | ||||
|         public CacheAttribute(int cacheDurationInMinutes, bool enableCaching = true) | ||||
|         { | ||||
|             CacheDurationInMinutes = cacheDurationInMinutes; | ||||
|             EnableCaching = enableCaching; | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Sergio Matias Urquin
					Sergio Matias Urquin