User Premissions

Hello
I create project based on c# , and i make roles like admin and users , so that i want to give special premission to users to perfom tasks .

if anyone know how i can make or write this code , please help me .

and in advance THANKYOU.